package com.pawn.jwt.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @program: jwt
 * @description:
 * @author: Dawson.Zhang
 * @create: 2020-08-13
 **/
public class TimeUtil {


    public static String format(Date date) {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String format = simpleDateFormat.format(date);
        return format;
    }
}
